package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-资产管理-维修返仓单
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_battery_back_bill")
@ApiModel(value = "ErpBatteryBackBill对象", description = "ERP系统-资产管理-维修返仓单")
public class ErpBatteryBackBill implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("维修返仓编号")
    private String billNo;

    @ApiModelProperty("返修仓ID")
    private Integer repairWarehouseId;

    @ApiModelProperty("发往城市ID")
    private Integer operateId;

    @ApiModelProperty("发往仓库ID")
    private Integer warehouseId;

    @ApiModelProperty("关联客户")
    private Integer companyId;

    @ApiModelProperty("电池型号ID")
    private Integer batteryModelId;

    @ApiModelProperty("电池数量")
    private Integer batteryNumber;

    @ApiModelProperty("已签收电池数量")
    private Integer signBatteryNumber;

    @ApiModelProperty("状态 1-返仓扫码中 2-物流运输中 3-签收扫码中 4-返仓完成")
    private Integer status;

    @ApiModelProperty("签收完成时间")
    private Date signTime;

    @ApiModelProperty("签收文件")
    private String signFiles;

    @ApiModelProperty("是否删除：0.否(默认)1.是")
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDeleted;

    @ApiModelProperty("创建人")
    private Integer createUser;

    @ApiModelProperty("创建人")
    private String createUserName;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
